{meta_html js $j_jelixwww.'jquery/jquery.js'}
{meta_html js $j_jelixwww.'jquery/ui/ui.core.min.js'}
{meta_html js $j_jelixwww.'jquery/ui/ui.tabs.min.js'}
<div id="contener">
<div id="top">
    <h1>{$TITLE}<span>{$DESC}</span></h1>
	<div id="prelude">
		<p id="accesslinks">
			<a href="#content">{@havefnu~main.goto.content@}</a>
            <a href="#sidebar">{@havefnu~main.goto.sidebar@}</a>
		</p>
	</div>
</div>
<div id="page">
    <div id="content">
    {$MAIN}
    </div><!-- #content -->
</div><!-- #page -->
<div id="sidebar">
	<h2>Menu</h2>
	<div>		
		<ul>
			<li><a href="{jurl 'havefnu~default:index'}" title="{@havefnu~main.home@}">{@havefnu~main.home@}</a></li>
			<li><a href="{jurl 'havefnu~team:index'}" title="{@havefnu~main.the.teams@}">{@havefnu~main.the.teams@}</a></li>
			<li><a href="{jurl 'havefnu~war:index'}" title="{@havefnu~main.the.wars@}">{@havefnu~main.the.wars@}</a></li>
			<li><a href="{jurl 'havefnu~default:index'}" title="{@havefnu~main.calendar@}">{@havefnu~main.calendar@}</a></li>
			<li><a href="{jurl 'havefnu~war:awards'}" title="{@havefnu~main.awards@}">{@havefnu~main.awards@}</a></li>
		</ul>
	</div>

    <h2>{@havefnu~main.identity@}</h2>
    {zone ('jcommunity~status')}
	
	{ifacl2 "hfn.adminwar.index"}
	<h2>{@havefnu~main.team.admin@}</h2>
	<div>
		<ul>
	{/ifacl2}
	{ifacl2 "hfn.adminteam.index"}
			<li><a href="{jurl 'havefnu~team:admin'}" title="admin team">{@havefnu~main.team.admin@}</a></li>
			<li><a href="{jurl 'havefnu~team_member:admin'}" title="admin team">{@havefnu~main.team.member.admin@}</a></li>
	{/ifacl2}
	{ifacl2 "hfn.adminwar.index"}		
			<li><a href="{jurl 'havefnu~war:admin'}" title="admin war">{@havefnu~main.war.admin@}</a></li>
		</ul>		
	</div>
	{/ifacl2}
	
</div>
<div class="clearer"><!-- --></div>
<div id="footer">
    <p><span>{@havefnu~main.poweredby@} <a href="http://www.havefnu.com" title="HaveFnu!">HaveFnu!</a> - &copy; Copyright 2008 <a href="http://www.foxmask.info" title="FoxMaSk'Z H0m3">FoxMaSk</a></span></p>
</div><!-- #footer -->
</div><!-- #contener -->